#! /bin/sh

export NS_HOME=/root/ns-allinone-2.27/
export PATH=$NS_HOME/tcl8.4.5/unix:$NS_HOME/tk8.4.5/unix:$NS_HOME/bin:$PATH
export LD_LIBRARY_PATH=$NS_HOME/tcl8.4.5/unix:$NS_HOME/tk8.4.5/unix:$NS_HOME/otcl-1.8:$NS_HOME/lib:$LD_LIBRARY_PATH
export TCL_LIBRARY=$NS_HOME/tcl8.4.5/library
#above are the environment variables required to run ns
#if this bash file is executed, the environment variables are set and the simulation in 
#the file ALL-traffic.tcl starts
# change the following to the location of the file, 15 is the seed for random number generation
ns /root/examples/ns-fuzzy-red-sims/ALL-traffic.tcl 15
